<template>
  <div class="div">
    <div class="yetou"><h2>在线工具箱1.0</h2></div>
    <div class="main">
        <div class="daoh">
            <ul>
            <li><router-link to="/jx"> 在线驾校</router-link></li>
            <li> <router-link to="/Ip">IP查询 </router-link></li>
            <li> <router-link to="/Wd"> 智能问答 </router-link></li>
            
            </ul>
        </div>
        <div class="body">
            <li> <img src="https://cdn.free-api.com/aamab-jrtlr.webp" alt="">
              <router-link to="/jx">  <el-button type="primary">在线驾校</el-button></router-link>
            </li>
            <li> <img src="https://bpic.588ku.com/element_origin_min_pic/19/04/09/2537081ef6ba202fe7da0844f7e5fb67.jpg" alt="">
               <router-link to="/Ip"> <el-button type="primary"> IP查询</el-button></router-link>
            </li>
            <li> <img src="https://www.jisuapi.com/static/images/iconv2/iqa.png" alt="">
                <router-link to="/Wd"> <el-button type="primary">智能问答</el-button> </router-link>
            </li>
            <li> <img src="https://www.viablife.com/upload/2018/07/11/85b1cb86d9f4483c8b30685651cd150c.png" alt="">
                更多小工具正在开发中....
            </li>
        </div>
        
    </div>
  </div>
</template>

<script>
export default {
    
}
</script>

<style>
a{
    color:black ;
}
@media only screen and (min-width: 768px) and (max-width: 2000px){
*{
    margin: 0;
    padding: 0;
    list-style: none;

}
.div{
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;

}
.yetou{
    width: 100%;
    background-color: #B3C0D1;
    text-align: center;
   
}
.main{
    width: 100%;
    display: flex;
    

}

.daoh{
    width: 10%;
    background-color: #f5f5f5;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    border-left: 1px solid #B3C0D1;
    border-right: 1px solid #B3C0D1;
     
}

.daoh ul{
    width: 100%;
}

.daoh li{
    width:100%;
    height:33%;
    border-bottom: 1px solid #B3C0D1;
    border-top: 1px solid #B3C0D1;
    display: flex;
    align-items: center;
    justify-content: center;
    
}
.daoh li:hover{
  background-color: #B3C0D1;
}

.body{
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.body li{
    width: 24%;
    border-left: 1px solid #B3C0D1;
    border-right: 1px solid #B3C0D1;
    text-align: center;
    
}
.body img{
    width: 100%;
    height: 80%;
    
}
}

@media only screen and (min-width: 1px) and (max-width: 767px){
*{
    margin: 0;
    padding: 0;
    list-style: none;
    

}

.div{
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;

}
.yetou{
    width: 100%;
    background-color: #B3C0D1;
    text-align: center;
   
}
.main{
    width: 100%;
    display: flex;
    flex-direction:column;
    

}

.daoh{
    width: 100%;
    height: 80px;
    background-color: #f5f5f5;
    list-style-type: none;
    display: flex;
  
     
}

.daoh ul{
    width: 100%;
    height: 100%;
    display: flex;
}

.daoh li{
    width:33%;
    height:100%;
    border-left: 1px solid #B3C0D1;
    border-right: 1px solid #B3C0D1;
    display: flex;
    align-items: center;
    justify-content: center;
    
}


.body{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    
    

}
.body li{
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction:column;
    align-items: center;
    justify-content: center;


    
}
.body img{
    width: 50%;
    height: 50%;
    
}



}






</style>